package com.wzxy.spider.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wzxy.spider.wx.entity.WeChat;
import com.wzxy.spider.wx.repository.WeChatRepository;
import com.wzxy.spider.wx.service.IWeChatService;
import com.wzxy.wzinfo.service.impl.MyJpaService;

@Service("weChatService")
public class WeChatService extends MyJpaService<WeChat, Integer> implements IWeChatService {

	private WeChatRepository weChatRepository;

	@Autowired
	public void setWeChatRepository(WeChatRepository weChatRepository) {
		this.weChatRepository = weChatRepository;
		super.setJpaRepository(weChatRepository);
		super.setJpaSpecificationExecutor(weChatRepository);
	}
	
	
}
